<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt6-webengine</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <Summary>Provides support for web applications using the Chromium browser project</Summary>
        <Description>Provides support for web applications using the Chromium browser project</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Icon>qt-logo</Icon>
        <Archive sha1sum="f4b6ce07bf8326dce63a9327c7ced3e0191af8cf" type="tarxz">https://download.qt.io/official_releases/qt/6.4/6.4.2/submodules/qtwebengine-everywhere-src-6.4.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>ninja</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-declarative-devel</Dependency>
<!--             <Dependency versionFrom="6.4.2">qt6-xmlpatterns-devel</Dependency> -->
            <Dependency versionFrom="6.4.2">qt6-positioning-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-sensors-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-webchannel-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-designer-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-websockets-devel</Dependency>
            <Dependency>bison</Dependency>
            <Dependency>wget</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency versionFrom="16.4.2">nodejs</Dependency>
            <Dependency>re2-devel</Dependency>
            <Dependency>re2c</Dependency>
            <Dependency versionFrom="1.7.2">ninja</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency>snappy-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency versionFrom="2.50.2">glib2-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency versionFrom="2.7.1">freetype-devel</Dependency>
            <Dependency versionFrom="13.0.4">mesa-devel</Dependency>
            <Dependency versionFrom="3.2.1">eudev-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>harfbuzz-devel</Dependency>
            <Dependency>json-c-devel</Dependency>
            <Dependency>protobuf-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>libevent-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>nss-devel</Dependency>  <!--bizim nss ile derlenmiyor kendi içinde var-->
            <Dependency>perl</Dependency>
            <Dependency versionFrom="2.7.13">python-devel</Dependency>
            <Dependency versionFrom="3.8.10">python3-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>minizip-devel</Dependency>
            <Dependency versionFrom="68.2">icu4c-devel</Dependency>
            <Dependency versionFrom="3.2.4">ffmpeg-devel</Dependency>
            <Dependency>git</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>jsoncpp-devel</Dependency>
            <Dependency>poppler-cpp-devel</Dependency>
            <Dependency>python-Jinja2</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency>libxkbfile-devel</Dependency>
<!--             <Dependency>pipewire-0.2-devel</Dependency> -->
            <Dependency>pipewire-devel</Dependency>
            <Dependency>mit-kerberos-devel</Dependency>
            <Dependency>python3-html5lib</Dependency>
            <Dependency>libepoxy-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--             <Patch level="1">qtbug-107144.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>qt6-webengine</Name>
        <Files>
            <Path fileType="executable">/usr/lib/qt6/bin/</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/metatypes/*</Path>
            <Path fileType="library">/usr/lib/libQt6Pdf*</Path>
            <Path fileType="library">/usr/lib/libQt6WebEngine*</Path>
            <Path fileType="library">/usr/lib/libQt6WebEngineWidgets*</Path>
            <Path fileType="library">/usr/lib/qt6</Path>
            <Path fileType="data">/usr/share/qt6</Path>
            <Path fileType="localedata">/usr/share/qt6/translations</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency>re2</Dependency>
            <Dependency>nss</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>nspr</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>snappy</Dependency>
            <Dependency versionFrom="2.7.1">freetype</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>libevent</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency versionFrom="6.4.2">qt6-positioning</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency versionFrom="6.4.2">qt6-webchannel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-declarative</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>minizip</Dependency>
            <Dependency>protobuf</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libxkbcommon</Dependency>
            <Dependency>libxkbfile</Dependency>
            <Dependency>pipewire</Dependency>
            <Dependency>libepoxy</Dependency>
<!--             <Dependency>pipewire-0.2</Dependency> -->
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt6-webengine-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib/cmake</Path>
            <Path fileType="header">/usr/include/qt6</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt6-webengine</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-declarative-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-positioning-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-webchannel-devel</Dependency>
        </RuntimeDependencies>
    </Package>
    
    <!--Package>
        <Name>qt6-webengine-docs</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="6.4.2">qt6-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package-->

    <History>
        <Update release="2">
            <Date>2023-01-08</Date>
            <Version>6.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2022-10-12</Date>
            <Version>6.4.0</Version>
            <Comment>First release</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
